package com.lqq.eduorder.client;

import com.lqq.commonutils.vo.CourseOrderVo;
import com.lqq.commonutils.vo.UcenterOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient(name="service-ucenter")
public interface OrderUcenterClient {

    //根据用户id查用户信息（订单）
    @GetMapping("/educenter/member/getUcenterOrder/{memberId}")
    public UcenterOrderVo getUcenterOrderInfo(@PathVariable("memberId") String memberId) ;
}
